package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * The type Order buyer.
 */
@Entity
@Table(name = "order_buyer")
public class OrderBuyer extends TendBaseEntity implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -362622786196981490L;
	/**
     * 订单id
     */
    private Long orderid;
    /**
     * 买家系统注册号id
     */
    private Long syscodeid;
    /**
     * 机构id
     */
    private Long organid;
    /**
     * 用户id
     */
    private Long userid;
    /**
     * 买家地址
     */
    private String buyeraddress;
    /**
     * 买家姓名
     */
    private String buyername;
    /**
     * 买家电话
     */
    private String btel;
    /**
     * 企业名称
     */
    @Column(
            updatable = true,
            nullable = true
    )
    private String entname;
    /**
     * 门店名称
     */
    @Column(
            updatable = true,
            nullable = true
    )
    private String storename;
    /**
     * 买家类型 0:个人 1:企业
     */
    private Integer buyertype;
    /**
     * 对应的供应链系统中的organid
     */
    private String matchid;
    /**
     * 系统唯一注册码
     */
    private Long syscode;

    public Long getSyscode() {
        return syscode;
    }

    public void setSyscode(Long syscode) {
        this.syscode = syscode;
    }

    public String getMatchid() {
        return matchid;
    }

    public void setMatchid(String matchid) {
        this.matchid = matchid;
    }

    /**
     * Gets orderid.
     *
     * @return the orderid
     */
    public Long getOrderid() {
        return orderid;
    }

    /**
     * Sets orderid.
     *
     * @param orderid the orderid
     */
    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    /**
     * Gets syscodeid.
     *
     * @return the syscodeid
     */
    public Long getSyscodeid() {
        return syscodeid;
    }

    /**
     * Sets syscodeid.
     *
     * @param syscodeid the syscodeid
     */
    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    /**
     * Gets organid.
     *
     * @return the organid
     */
    public Long getOrganid() {
        return organid;
    }

    /**
     * Sets organid.
     *
     * @param organid the organid
     */
    public void setOrganid(Long organid) {
        this.organid = organid;
    }

    /**
     * Gets userid.
     *
     * @return the userid
     */
    public Long getUserid() {
        return userid;
    }

    /**
     * Sets userid.
     *
     * @param userid the userid
     */
    public void setUserid(Long userid) {
        this.userid = userid;
    }

    /**
     * Gets buyeraddress.
     *
     * @return the buyeraddress
     */
    public String getBuyeraddress() {
        return buyeraddress;
    }

    /**
     * Sets buyeraddress.
     *
     * @param buyeraddress the buyeraddress
     */
    public void setBuyeraddress(String buyeraddress) {
        this.buyeraddress = buyeraddress;
    }

    /**
     * Gets buyername.
     *
     * @return the buyername
     */
    public String getBuyername() {
        return buyername;
    }

    /**
     * Sets buyername.
     *
     * @param buyername the buyername
     */
    public void setBuyername(String buyername) {
        this.buyername = buyername;
    }

    /**
     * Gets btel.
     *
     * @return the btel
     */
    public String getBtel() {
        return btel;
    }

    /**
     * Sets btel.
     *
     * @param btel the btel
     */
    public void setBtel(String btel) {
        this.btel = btel;
    }

    public String getEntname() {
        return entname;
    }

    public void setEntname(String entname) {
        this.entname = entname;
    }

    public String getStorename() {
        return storename;
    }

    public void setStorename(String storename) {
        this.storename = storename;
    }

    public Integer getBuyertype() {
        return buyertype;
    }

    public void setBuyertype(Integer buyertype) {
        this.buyertype = buyertype;
    }
}